Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: publish on tag push #13

Merged
merged 1 commit into from
Oct 24, 2023
Merged

fix: publish on tag push #13

merged 1 commit into from
Oct 24, 2023

Conversation

dmaljovec
Copy link
Contributor

What?

  • Attempt to fix automatic releasing

Why?

  • First attempt did not trigger publication to PyPI

@@ -1,16 +1,16 @@
name: Publish Python Package

on:
release:
types: [published]
push:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will force us to explicitly tag versions, but we can follow-up with an auto-tagging strategy if needed.

@@ -23,17 +23,6 @@ jobs:
pip install build
- name: Build package
run: python -m build --sdist --wheel
- name: Tag version in GitHub
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't want to tag versions in this pipeline if this runs on tagging lest we end up in an infinite cycle.

@dmaljovec dmaljovec marked this pull request as ready for review October 24, 2023 10:09
@dmaljovec dmaljovec requested a review from a team as a code owner October 24, 2023 10:09
@dmaljovec dmaljovec merged commit cd13c7a into trunk Oct 24, 2023
12 checks passed
@dmaljovec dmaljovec deleted the fix-publishing branch October 24, 2023 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant